package com.kimho.truck.persistence;

import java.util.List;
import java.util.Map;

import com.kimho.core.PageInfo;
import com.kimho.truck.domain.Truck;

public interface TruckMapper {
	Long getTotal();
	Truck getTruck(Map<String,Object> param);
	List<Truck> getTruckList(PageInfo pi);
	Truck getTurckOwner(Truck truck);
	void insertTruck(Truck truck);
	void insertTruckowner(Truck truck);
	void updateTruck(Truck truck);
	void updateTuckowner(Truck truck);
	void deleteTruck(Map<String,Object> param);
	void deleteTruckowner(Map<String,Object> param);
}
